package com.hrt.datasender.datadao.model;

import com.btcode.db.fieldtype.FieldType;
import com.btcode.orm.model.BaseModel;
import com.btcode.orm.model.Field;
import com.btcode.orm.model.IField;

public class BcSendPlatformModel extends BaseModel {

    private static final long serialVersionUID = 1L;

    public static String tableName = "BC_SEND_PLATFORM";

    public static IField platformId = new Field(BcSendPlatformModel.class, "PLATFORM_ID", FieldType.String, true, true,
            false);

    public static IField ip = new Field(BcSendPlatformModel.class, "IP", FieldType.String, false, true, false);

    public static IField port = new Field(BcSendPlatformModel.class, "PORT", FieldType.String, false, true, false);

    public static IField name = new Field(BcSendPlatformModel.class, "NAME", FieldType.String, false, true, false);

    public static IField transportProtocolId = new Field(BcSendPlatformModel.class, "TRANSPORT_PROTOCOL_ID",
            FieldType.String, false, true, false);

    public static IField transportProtocolName = new Field(BcSendPlatformModel.class, "TRANSPORT_PROTOCOL_NAME",
            FieldType.String, false, true, false);

    public static IField mn = new Field(BcSendPlatformModel.class, "MN", FieldType.String, false, true, false);

    public static IField rtStTable = new Field(BcSendPlatformModel.class, "RT_ST_TABLE", FieldType.String, false, true,
            false);

    public static IField minStTable = new Field(BcSendPlatformModel.class, "MIN_ST_TABLE", FieldType.String, false,
            true, false);

    public static IField hourStTable = new Field(BcSendPlatformModel.class, "HOUR_ST_TABLE", FieldType.String, false,
            true, false);

    public static IField dayStTable = new Field(BcSendPlatformModel.class, "DAY_ST_TABLE", FieldType.String, false,
            true, false);

    public static IField rtStId = new Field(BcSendPlatformModel.class, "RT_ST_ID", FieldType.String, false, true,
            false);

    public static IField minStId = new Field(BcSendPlatformModel.class, "MIN_ST_ID", FieldType.String, false, true,
            false);

    public static IField hourStId = new Field(BcSendPlatformModel.class, "HOUR_ST_ID", FieldType.String, false, true,
            false);

    public static IField dayStId = new Field(BcSendPlatformModel.class, "DAY_ST_ID", FieldType.String, false, true,
            false);

    public static IField heartbeatStrategyId = new Field(BcSendPlatformModel.class, "HEARTBEAT_STRATEGY_ID",
            FieldType.String, false, true, false);

    public void setPlatformId(String value) {
        setFieldValue(BcSendPlatformModel.platformId.getFieldName(), value);
    }

    public String getPlatformId() {
        Object value = getFieldValue(BcSendPlatformModel.platformId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setIp(String value) {
        setFieldValue(BcSendPlatformModel.ip.getFieldName(), value);
    }

    public String getIp() {
        Object value = getFieldValue(BcSendPlatformModel.ip.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setPort(String value) {
        setFieldValue(BcSendPlatformModel.port.getFieldName(), value);
    }

    public String getPort() {
        Object value = getFieldValue(BcSendPlatformModel.port.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setName(String value) {
        setFieldValue(BcSendPlatformModel.name.getFieldName(), value);
    }

    public String getName() {
        Object value = getFieldValue(BcSendPlatformModel.name.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setTransportProtocolId(String value) {
        setFieldValue(BcSendPlatformModel.transportProtocolId.getFieldName(), value);
    }

    public String getTransportProtocolId() {
        Object value = getFieldValue(BcSendPlatformModel.transportProtocolId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setTransportProtocolName(String value) {
        setFieldValue(BcSendPlatformModel.transportProtocolName.getFieldName(), value);
    }

    public String getTransportProtocolName() {
        Object value = getFieldValue(BcSendPlatformModel.transportProtocolName.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMn(String value) {
        setFieldValue(BcSendPlatformModel.mn.getFieldName(), value);
    }

    public String getMn() {
        Object value = getFieldValue(BcSendPlatformModel.mn.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setRtStTable(String value) {
        setFieldValue(BcSendPlatformModel.rtStTable.getFieldName(), value);
    }

    public String getRtStTable() {
        Object value = getFieldValue(BcSendPlatformModel.rtStTable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMinStTable(String value) {
        setFieldValue(BcSendPlatformModel.minStTable.getFieldName(), value);
    }

    public String getMinStTable() {
        Object value = getFieldValue(BcSendPlatformModel.minStTable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setHourStTable(String value) {
        setFieldValue(BcSendPlatformModel.hourStTable.getFieldName(), value);
    }

    public String getHourStTable() {
        Object value = getFieldValue(BcSendPlatformModel.hourStTable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setDayStTable(String value) {
        setFieldValue(BcSendPlatformModel.dayStTable.getFieldName(), value);
    }

    public String getDayStTable() {
        Object value = getFieldValue(BcSendPlatformModel.dayStTable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setRtStId(String value) {
        setFieldValue(BcSendPlatformModel.rtStId.getFieldName(), value);
    }

    public String getRtStId() {
        Object value = getFieldValue(BcSendPlatformModel.rtStId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMinStId(String value) {
        setFieldValue(BcSendPlatformModel.minStId.getFieldName(), value);
    }

    public String getMinStId() {
        Object value = getFieldValue(BcSendPlatformModel.minStId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setHourStId(String value) {
        setFieldValue(BcSendPlatformModel.hourStId.getFieldName(), value);
    }

    public String getHourStId() {
        Object value = getFieldValue(BcSendPlatformModel.hourStId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setDayStId(String value) {
        setFieldValue(BcSendPlatformModel.dayStId.getFieldName(), value);
    }

    public String getDayStId() {
        Object value = getFieldValue(BcSendPlatformModel.dayStId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setHeartbeatStrategyId(String value) {
        setFieldValue(BcSendPlatformModel.heartbeatStrategyId.getFieldName(), value);
    }

    public String getHeartbeatStrategyId() {
        Object value = getFieldValue(BcSendPlatformModel.heartbeatStrategyId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public String getTableName() {
        return tableName;
    }

    public boolean isNeedCache() {
        return false;
    }

}
